From: Ivan Molodetskikh Date: Thu, 17 Feb 2022 06:05:10 +0000 (+0300) Subject: screenshot: Make screencast area indicator hidden from pick X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~516^2^2~75 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5fb5c9f75ecbfeb44c717ec9402c1e51e90dc330;p=gnome-shell.git screenshot: Make screencast area indicator hidden from pick It's a non-reactive actor on top of most of the stage. Set it as hidden from pick so it doesn't break in-Shell DnD. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5083 Part-of: --- diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index 8ed51ef69..adc1f8cb3 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -1047,6 +1047,7 @@ var ScreenshotUI = GObject.registerClass({ GObject.BindingFlags.DEFAULT); // Add it directly to the stage so that it's above popup menus. global.stage.add_child(this._screencastAreaIndicator); + Shell.util_set_hidden_from_pick(this._screencastAreaIndicator, true); Main.layoutManager.screenshotUIGroup.add_child(this);